package com.google.android.gms.internal;

import android.content.Context;
import com.google.android.gms.ads.internal.zzbb;
import com.google.android.gms.common.internal.Hide;
import java.util.concurrent.Future;

@Hide
@zzabh
public final class zzzu extends zzahs {
    private final Object mLock;
    /* access modifiers changed from: private */
    public final zzzn zzcoa;
    private final zzahe zzcob;
    private final zzacj zzcoc;
    private final zzzy zzcor;
    private Future<zzahd> zzcos;

    public zzzu(Context context, zzbb zzbb, zzahe zzahe, zzcv zzcv, zzzn zzzn, zzov zzov) {
        this(zzahe, zzzn, new zzzy(context, zzbb, new zzajr(context), zzcv, zzahe, zzov));
    }

    private zzzu(zzahe zzahe, zzzn zzzn, zzzy zzzy) {
        this.mLock = new Object();
        this.zzcob = zzahe;
        this.zzcoc = zzahe.zzdcw;
        this.zzcoa = zzzn;
        this.zzcor = zzzy;
    }

    public final void onStop() {
        synchronized (this.mLock) {
            if (this.zzcos != null) {
                this.zzcos.cancel(true);
            }
        }
    }

    /* JADX WARNING: Removed duplicated region for block: B:21:0x0036  */
    /* JADX WARNING: Removed duplicated region for block: B:22:0x0039  */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void zzdo() {
        /*
            r53 = this;
            r1 = r53
            r2 = 0
            r3 = 0
            java.lang.Object r4 = r1.mLock     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            monitor-enter(r4)     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            com.google.android.gms.internal.zzzy r5 = r1.zzcor     // Catch:{ all -> 0x0023 }
            java.util.concurrent.ThreadPoolExecutor r6 = com.google.android.gms.internal.zzaid.zzdfi     // Catch:{ all -> 0x0023 }
            com.google.android.gms.internal.zzalt r5 = com.google.android.gms.internal.zzaid.zza((java.util.concurrent.ExecutorService) r6, r5)     // Catch:{ all -> 0x0023 }
            r1.zzcos = r5     // Catch:{ all -> 0x0023 }
            monitor-exit(r4)     // Catch:{ all -> 0x0023 }
            java.util.concurrent.Future<com.google.android.gms.internal.zzahd> r4 = r1.zzcos     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            r5 = 60000(0xea60, double:2.9644E-319)
            java.util.concurrent.TimeUnit r7 = java.util.concurrent.TimeUnit.MILLISECONDS     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            java.lang.Object r4 = r4.get(r5, r7)     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            com.google.android.gms.internal.zzahd r4 = (com.google.android.gms.internal.zzahd) r4     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
            r2 = -2
            r8 = r2
            r3 = r4
            goto L_0x0034
        L_0x0023:
            r0 = move-exception
            r5 = r0
            monitor-exit(r4)     // Catch:{ all -> 0x0023 }
            throw r5     // Catch:{ TimeoutException -> 0x0027, InterruptedException | CancellationException | ExecutionException -> 0x0033 }
        L_0x0027:
            java.lang.String r2 = "Timed out waiting for native ad."
            com.google.android.gms.internal.zzahw.zzcz(r2)
            r2 = 2
            java.util.concurrent.Future<com.google.android.gms.internal.zzahd> r4 = r1.zzcos
            r5 = 1
            r4.cancel(r5)
        L_0x0033:
            r8 = r2
        L_0x0034:
            if (r3 == 0) goto L_0x0039
            r2 = r3
            goto L_0x00cc
        L_0x0039:
            com.google.android.gms.internal.zzahd r2 = new com.google.android.gms.internal.zzahd
            com.google.android.gms.internal.zzahe r3 = r1.zzcob
            com.google.android.gms.internal.zzacf r3 = r3.zzcvm
            com.google.android.gms.internal.zzkk r5 = r3.zzcrv
            com.google.android.gms.internal.zzacj r3 = r1.zzcoc
            int r11 = r3.orientation
            com.google.android.gms.internal.zzacj r3 = r1.zzcoc
            long r12 = r3.zzcic
            com.google.android.gms.internal.zzahe r3 = r1.zzcob
            com.google.android.gms.internal.zzacf r3 = r3.zzcvm
            java.lang.String r14 = r3.zzcry
            r16 = 0
            r17 = 0
            r18 = 0
            r19 = 0
            r20 = 0
            com.google.android.gms.internal.zzacj r3 = r1.zzcoc
            long r3 = r3.zzctp
            com.google.android.gms.internal.zzahe r15 = r1.zzcob
            com.google.android.gms.internal.zzko r15 = r15.zzaud
            com.google.android.gms.internal.zzacj r10 = r1.zzcoc
            r44 = r11
            long r10 = r10.zzctn
            com.google.android.gms.internal.zzahe r9 = r1.zzcob
            r45 = r10
            long r10 = r9.zzdcn
            com.google.android.gms.internal.zzacj r9 = r1.zzcoc
            r47 = r10
            long r10 = r9.zzcts
            com.google.android.gms.internal.zzacj r9 = r1.zzcoc
            java.lang.String r9 = r9.zzctt
            com.google.android.gms.internal.zzahe r7 = r1.zzcob
            org.json.JSONObject r7 = r7.zzdch
            r32 = 0
            r33 = 0
            r34 = 0
            r35 = 0
            com.google.android.gms.internal.zzahe r6 = r1.zzcob
            com.google.android.gms.internal.zzacj r6 = r6.zzdcw
            boolean r6 = r6.zzcuf
            r49 = r3
            com.google.android.gms.internal.zzahe r3 = r1.zzcob
            com.google.android.gms.internal.zzacj r3 = r3.zzdcw
            com.google.android.gms.internal.zzacl r3 = r3.zzcug
            r38 = 0
            r39 = 0
            com.google.android.gms.internal.zzacj r4 = r1.zzcoc
            java.lang.String r4 = r4.zzcuj
            r51 = r4
            com.google.android.gms.internal.zzahe r4 = r1.zzcob
            com.google.android.gms.internal.zziu r4 = r4.zzdcu
            r52 = r4
            com.google.android.gms.internal.zzahe r4 = r1.zzcob
            com.google.android.gms.internal.zzacj r4 = r4.zzdcw
            boolean r4 = r4.zzaqw
            r43 = 0
            r42 = r4
            r21 = r49
            r40 = r51
            r41 = r52
            r4 = r2
            r36 = r6
            r6 = 0
            r31 = r7
            r7 = 0
            r30 = r9
            r9 = 0
            r28 = r10
            r24 = r45
            r26 = r47
            r10 = 0
            r11 = r44
            r23 = r15
            r15 = 0
            r37 = r3
            r4.<init>(r5, r6, r7, r8, r9, r10, r11, r12, r14, r15, r16, r17, r18, r19, r20, r21, r23, r24, r26, r28, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43)
        L_0x00cc:
            android.os.Handler r3 = com.google.android.gms.internal.zzaij.zzdfn
            com.google.android.gms.internal.zzzv r4 = new com.google.android.gms.internal.zzzv
            r4.<init>(r1, r2)
            r3.post(r4)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.zzzu.zzdo():void");
    }
}
